import os

# 删除image_jc文件夹下的所有文件
folder1 = 'image_jc/'
for filename in os.listdir(folder1):
    os.remove(os.path.join(folder1, filename))

# 删除images文件夹下的所有文件
folder2 = 'images/'
for filename in os.listdir(folder2):
    os.remove(os.path.join(folder2, filename))


folder2 = 'srt_txt/'
for filename in os.listdir(folder2):
    os.remove(os.path.join(folder2, filename))